import java.util.Scanner;

/**
 * Main class that can generates instances of dice and calls to rolling method
 * @author jmaria_iturbe
 *
 */
public class Main {

	/**
	 * Main method
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		String line = "";
		System.out.println("Number of sides: ");
		line = reader.nextLine();
		Dice myDice = new Dice(Integer.parseInt(line));
		System.out.println("Result ---> " + myDice.rollDice());
	}

}
